package com.hkw.dao;
import com.hkw.model.ClassRoom;
import com.hkw.utils.PagesUtils;
import java.sql.SQLException;
import java.util.List;

/**
 * dao接口
 */
public interface IClassRoomDao {
    List<ClassRoom> findAll(PagesUtils pagesUtils) throws SQLException;

    int findAllRows() throws SQLException;
    //添加班级
    int insertClassRoom(ClassRoom classRoom) throws SQLException;

    List<ClassRoom> findAllId() throws SQLException;

    int delClassById(int id) throws SQLException;

    ClassRoom findClassRoomById(int id) throws SQLException;

    int updateClassRoom(ClassRoom classRoom) throws SQLException;

    List<ClassRoom> findClassRoomByClassRoom(ClassRoom classRoom) throws SQLException;
}
